package com.zhangtingshu.pojo;


import java.sql.Timestamp;

/**
 * @author zhangtingshu
 * @category 帖子类
 */
public class Invitation {

    private int id;
    private String title;
    private String summary;
    private int uid;
    private Timestamp createdate;
    private String content;
    private int likes;//点赞数

    public Invitation() {
        super();
    }

    public Invitation(int id, String title, String summary, int uid,
                      Timestamp createdate) {
        super();
        this.id = id;
        this.title = title;
        this.summary = summary;
        this.uid = uid;
        this.createdate = createdate;
    }

    public Invitation(int id, String title, String summary, int uid, Timestamp createdate, String content) {
        this.id = id;
        this.title = title;
        this.summary = summary;
        this.uid = uid;
        this.createdate = createdate;
        this.content = content;
    }

    public Invitation(int id, String title, String summary, int uid, Timestamp createdate, String content, int likes) {
        this.id = id;
        this.title = title;
        this.summary = summary;
        this.uid = uid;
        this.createdate = createdate;
        this.content = content;
        this.likes = likes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public Timestamp getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Timestamp createdate) {
        this.createdate = createdate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getLikes() {
        return likes;
    }

    public void setLikes(int likes) {
        this.likes = likes;
    }
}
